home *** CD-ROM | disk | FTP | other *** search
/ The Macintosh Demo Applications CD / Apple-MacintoshDemoApplicationsCD-1.0-1992.iso / More Information / QuickMail / Installer Resources / Scripts / AppleLink.Script next >
Text File  |  1992-03-20  |  2KB  |  82 lines

  1. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  2. * Script for AppleLink hookup
  3. * ---------------------------------------------------------------------------
  4. * IN routine (do not change the label)
  5. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  6. :IN
  7. SUCCESS
  8. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  9. * LOGIN routine (do not change the label)
  10. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  11. :LOGIN
  12. ALERT 1,IN10,U#
  13. PAUSE 5
  14. TYPE H
  15. PAUSE 3
  16. TYPE H
  17. PAUSE 3
  18. TYPE H
  19. PAUSE 3
  20. TYPE H
  21. PAUSE 3
  22. TYPE H
  23. PAUSE 3
  24. TYPE H
  25. PAUSE 10
  26. GOTO FAIL
  27. *
  28. :IN10
  29. PAUSE 4
  30. ALERT 1,SUCC,SYSTEM
  31. ALERT 2,FAIL2,INVALID
  32. TYPE «Service»,«System»,«LogID»,!«LogID»,«password»;5.0CE;MAC;EFX;NS^M
  33. PAUSE 30
  34. GOTO FAIL
  35. *
  36. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  37. * CHANGEPASSWORD routine (do not change the label)
  38. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  39. :CHANGEPASSWORD
  40. GOTO FAIL
  41. *
  42. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  43. * LOGOFF routine (do not change the label)
  44. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  45. :LOGOFF
  46. GOTO SUCC
  47. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  48. * RESET routine (do not change the label)
  49. * Get us back to the logon screen from as many states as possible
  50. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  51. :RESET
  52. GOTO FAIL
  53. *
  54. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  55. * BYE routine (do not change the label)
  56. * Any final sign off routines that may be necessary go here
  57. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  58. :BYE
  59. GOTO SUCC
  60. *
  61. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  62. * OTHER STUFF
  63. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  64. :SUCC
  65. SUCCESS
  66. *
  67. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  68. * FAIL
  69. *      codes:     0 - default (unknown, leaves account enabled)
  70. *                1 - password expired (disables account in login)
  71. *                2 - bad password (disables account in login)
  72. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  73. :FAIL
  74. FAILURE
  75. :FAIL1
  76. * expired password
  77. FAILURE 1
  78. :FAIL2
  79. * bad password
  80. FAILURE 2
  81. * The End
  82.